﻿using A.M.ETO;
using A.M.Storage.I_Application;
using L.M.System.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.System.Application.IServices
{
    public interface ISystem_number_tableServices: IBaseServices<system_number_table,string>
    {
        /// <summary>
        /// 系统编号查询 + 分页 
        /// </summary>
        /// <param name="tName">模糊查询</param>
        /// <param name="pageSize">每页条数</param>
        /// <param name="pageIndex">当前页</param>
        /// <returns>系统编号查询 + 分页 </returns>
        Task<ApiReturn<PageETO<system_number_table>>> GetSystem_number_table(int pageSize, int pageIndex, string? tName);

        /// <summary>
        /// 修改更新系统编号
        /// </summary>
        /// <param name="newNumber"></param>
        /// <returns>修改更新系统编号</returns>
        ApiReturn<string> GetNewNumber(string? newNumber);

        /// <summary>
        /// 每日定时修改编号
        /// </summary>
        /// <returns></returns>
        Task<ApiReturn<system_number_table>> UpdSystemInfor();
    }
}
